<html>
<head><meta charset="utf-8"><title>parking_lot status · t-libs · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/index.html">t-libs</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/parking_lot.20status.html">parking_lot status</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="220198037"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/parking_lot%20status/near/220198037" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> CraftSpider <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/parking_lot.20status.html#220198037">(Dec 17 2020 at 01:40)</a>:</h4>
<p>TL;DR: Is there any place with a more concise/up-to-date review of any possible correctness issues in parking_lot, and is there any way I could help push it towards std acceptance?</p>
<p>Context: So, I've been looking into parking_lot as the backing of std, for allowing const new for sync types. I've found <a href="https://github.com/rust-lang/rust/pull/56410">rust/56410</a>, <a href="https://github.com/faern/parking_lot/pull/1">Alex Crichton's review</a>, and more recently <a href="https://github.com/Amanieu/parking_lot/issues/268">This issue</a>. The new issue notes that most of the issues have been fixed, but that its correctness is not yet fully there. The review hasn't been updated in a while, and I'm hesitant to start trying to compare 2 year old comments with current code.</p>



<a name="220201290"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/parking_lot%20status/near/220201290" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/parking_lot.20status.html#220201290">(Dec 17 2020 at 02:40)</a>:</h4>
<p>FYI you can just write <code>#56410</code> and Zulip will auto-link to <a href="https://github.com/rust-lang/rust/issues/56410">#56410</a> :)</p>



<a name="220229680"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/parking_lot%20status/near/220229680" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/parking_lot.20status.html#220229680">(Dec 17 2020 at 11:01)</a>:</h4>
<p><span class="user-mention" data-user-id="319144">@Rune Tynan</span>  I've been working a bit over the past few months on improving the synchronization primitives. so we no longer promise that condvars panic when used on different mutexes, the windows, wasm, and linux thread parkers no longer use mutexes+condvars, we now support mutex implementations that can be moved (so do not need to be boxed), etc. etc. all of these things should help towards parking_lot or something parking_lot-like.</p>



<a name="220229793"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/parking_lot%20status/near/220229793" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/parking_lot.20status.html#220229793">(Dec 17 2020 at 11:02)</a>:</h4>
<p>and some of the original feedback like <em>'we can't use windows keyed events because we don't have experience with it in std'</em> is now getting resolved, as rust 1.50 now uses that api in std for thread parker</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>